from django.urls import path

from . import views

urlpatterns = [
    path('add_chapter/', views.add_chapter, name='add_chapter'),
    path('delete_chapter/', views.delete_chapter, name='delete_chapter'),
    path('modify_chapter/', views.modify_chapter, name='modify_chapter'),
    path('query_chapter/', views.query_chapter, name='query_chapter'),
    path('query_section/', views.query_section, name='query_section'),
    path('add_section/', views.add_section, name='add_section'),
    path('delete_section/', views.delete_section, name='delete_section'),
    path('modify_section/', views.modify_section, name='modify_section'),
    path('query_all/', views.query_all, name='query_all'),
    path('add_sectionfile/', views.add_sectionfile, name='add_sectionfile'),
    path('get_sectionfile_page/', views.get_sectionfile_page, name='get_sectionfile_page'),
    path('add_model/', views.add_model, name='add_model'),
    path('modify_model/', views.modify_model, name='modify_model'),
    path('delete_model/', views.delete_model, name='delete_model'),
    path('query_model/', views.query_model, name='query_model'),
    path('download_file/', views.download_file, name='download_file'),
    path('upload_attachment/', views.upload_attachment, name='upload_attachment'),
    path('delete_attachment/', views.delete_attachment, name='delete_attachment'),
    path('query_example/', views.query_example, name='query_example'),
    path('add_example/', views.add_example, name='add_example'),
    path('delete_example/', views.delete_example, name='delete_example'),
    path('modify_example/', views.modify_example, name='modify_example'),
    path('add_param_picture/', views.add_param_picture, name='add_param_picture'),
    path('modify_param_picture/', views.modify_param_picture, name='modify_param_picture'),
    path('delete_param_picture/', views.delete_param_picture, name='delete_param_picture'),
    path('add_func_picture/', views.add_func_picture, name='add_func_picture'),
    path('modify_func_picture/', views.modify_func_picture, name='modify_func_picture'),
    path('delete_func_picture/', views.delete_func_picture, name='delete_func_picture'),
    path('add_param/', views.add_param, name='add_param'),
    path('modify_param/', views.modify_param, name='modify_param'),
    path('delete_param/', views.delete_param, name='delete_param'),
    path('add_note/', views.add_note, name='add_note'),
    path('change_note_status/', views.change_note_status, name='change_note_status'),
    path('delete_note/', views.delete_note, name='delete_note'),
    path('query_note/', views.query_note, name='query_note'),
    path('vote_note/', views.vote_note, name='vote_note'),
    path('cancel_note/', views.cancel_note, name='cancel_note'),
    path('query_notelikes/', views.query_notelikes, name='query_notelikes'),
    path('add_comment/', views.add_comment, name='add_comment'),
    path('delete_comment/', views.delete_comment, name='delete_comment'),
    path('calc_example/', views.calc_example, name='calc_example'),
]
